package com.doone.telmarket.domain.factory;

import com.doone.telmarket.domain.Currency;
import com.doone.telmarket.domain.Service;
import com.doone.telmarket.domain.ibator.ServiceClassify;
import com.doone.telmarket.domain.ibator.ServiceType;

@org.springframework.stereotype.Service
public class ServiceFactory {
	
	public Service createService(String serviceCode, String serviceCodeType
								,String serviceName,String serviceSummary,String serviceCost	
								,String spName,String serviceState,ServiceType serviceType
								,ServiceClassify serviceClassify){
		Currency currency = new Currency(serviceCost);
		Service service = new Service(serviceCode, serviceCodeType, serviceName, serviceSummary, currency
					, spName, serviceState, serviceType, serviceClassify);
		return service;
	}
	

}
